import { createRouter, createWebHistory } from 'vue-router'
import Home from '../pages/views/Home.vue'
import Contact from '../pages/views/Contact.vue'


const routerHistory = createWebHistory()

const router = createRouter({
    history: routerHistory,
    routes: [
        {
            path: '/',
            component: Home
        },
        {
            path: '/contact',
            component: Contact
        },
        {
            path: '/about',
            component: () => import('../pages/views/About.vue')
        }
    ]
})


export default router

